Refactor task.rb removed redundant code
Update push