check quota when upload/update a file