upgrading search AM for advance search