adding update script for server side.