update menu bar and d3 views