add new items to appropriate maps based on metadata