update
Escape strings properly.
Implement proper array retrieval.