clean repository to empty state
update repository to version 3