set mapping for model