add two update methods for processor