fix code update