remove nodes and edge models and use only maps
add delete and update to maps