updating sequences