reverting state from COMPLETED to WRITTEN