move ubmatrix c code to sleep
finish revising redis cache handler