update key filter, change define