riven change logic