passing db will force everything to re-render