The ghostmarker is updated when input is changed