add mongodb mapping for attribute