update server side response & algo