added tests for update actions