update category and lesson

if failed