Simplification of update_* functions.