Moved geoserver upload out of save method