changed the mechanism of surveys deletion on server