update mastery