Added support for item creation queries and item updating