update register and match action in test app