housekeeping the repository