update to work with https
auto update mechanism