simplify the update