Fixed updateRFS to be correct