update some code for video service