Mostly fixed but gremlin might be a problem
removed debugging output
MySql and H2 require different SQL for doing a join UPDATE.