Added update method to current editor