Attempt to traverse through decision branches... following branches cause null pointer exceptions. Possibly due to update function