update some common actions