update sidebar to reflect database tables