update some little codes