updated map frontend to new backend