Beginning of handling job updates->mongo state updates and logging