updates for refs