updated map and updated relic implementation