updated interface for webservice