upload model definition