update mooc_userprogress table and add a SORM class