updated install code