Update

update function added, executeQuery was returning errors when running insert statements...