added method to sync server time