mySQL update to stop logging 'uninitialized' states which causes errors