update file permission