Forgot to add other cases when update is needed.