Completed migration to green dao