Updating Survey code