updated resident history of encoding