refactor upload to central appserver.io server