instrument and fragment code updated