Made main router call upload-note function