Changed workflow of upload