Updated to send hearbeat