update daoService, add resource and example