update file controller