update prev_elvel in patient