change time and heart_rate data type