Changing search in rest