updated reverse map to models