edit DAO from Partika example