updated sub ref