update rc file