Bugfix: UPDATE may cause duplicate timestamps