add model resource