General upload and update