anchor.diff:      State2 = finish_all_nodes(State),
       Job2 = Job#pushy_job{status = Reason},
       State3 = State2#state{job = Job2},
  +    pushy_object:update_object(update_job, Job2, Job2#pushy_job.id),
       {next_state, Reason, State3}.
   
   count_nodes_in_state(NodeStates, #state{job_nodes = JobNodes}) ->
  
positive.code:     lager:info("Job ~p -> running", [Job#pushy_job.id]),
      Job2 = Job#pushy_job{status = running},
      State2 = State#state{job = Job2},
      send_command_to_all(<<"run">>, State2),
      maybe_finished_running(State2).
  
  
negative.code:     lager:info("Job ~p -> voting", [Job#pushy_job.id]),
      Job2 = Job#pushy_job{status = voting},
      State2 = State#state{job = Job2},
      pushy_object:update_object(update_job, Job2, Job2#pushy_job.id),
      send_command_to_all(<<"commit">>, State2),
      {next_state, StateName, State3} = maybe_finished_voting(State2),
      {ok, StateName, State3}.
  