add Gate for uploading