update rename detection, fixes 56