Make filter package code more readable
Add `update` command to update cached packages