set state to success if no errors exist