Update task to support multiple actions