change the logic on update