updated repository to match new table