update ref to rtos