Forge query from hashmap
Update functions response