updates search criteria according to new attributes