deprecated the primary functions for web services
upgrade script for web services