updte view to use binding query