Adding execute query and update query