add error message to update action