Setcodes update