Add repositories update sequence

Add an implementation of `func sequence_update(env Env)`.