started mesh upload function