updates rm and core fns