First Create a sequencer and register with sequencer utils `uvm_sequencer_utils(sequencer_name)
and now create a sequence and register that sequence with the factory and as well as the sequencer Lib
`uvm_sequence_utils(sequence_name,sequencer_name)
every sequencer by default wil have its own sequence library
when in the function new(); inside your sequencer use the macro......`uvm_update_sequence_lib_and_item
all the sequences registered with this sequencer will be updated automatically and the sequencer will know it and update internally in his sequence library