repair the checkcode, udpate the front resource