updated installation method