add MAP updates to the exposed NB interface
fix compile errors in test
showTopFeatures