update filter widgets
fix sql error and filters improvements