Added validation checks for update call.