fixed timestamp bug while updating to server