Updating fgWrite/Apply-Match