create simple query, update DAO