understand hibernate update