add option "-f" for install or update