Some changes for Document Upload