edit a models metadata