updated cwallet