change variable name
store deck data to db