Update logic 1