update state when modifying a report