add heartbeat to server