added secret key to survey table and model