Web Service update

- fixed select statement problem