Updating commands and preferences