simplifying update