update anchor pattern for params