add metadata to models