Update the beauty code learning and case learn