Fix modify query builder

Create new part for edit an existing query