add update method for file manager