Changed executeQuery to executeUpdate