change sleep data type