update instances