fixed some issues with update and hostip