taken debug out of update