changing schema for security resonse