update some other code