Exclude functions in multi-update query