spec for update action