fix bug for clearing update flag when heartbeat with gameserver