Implemented update()
Implemented query()