fix installation and updating