Update DAO code