alter routing & add register event