Call update_workspace
Improve hostname normalization