update all the other code