update after modifications