Unset new flag after successful write