Revert "rm refs"

This reverts commit 31341b873a99cf4322661e3f47a1396f9eb35eab.
upd