change persistancy method