fixed pre_update match method