Added executeUpdate function