fixed a problem setting the matchtype when updating reservation