Updating a rake segment task