fixes update state when merging rights.