remove unused imports
use refresh instead of update for repos
clean up parser options