update file rights