Fix issue where iplog are still open
Refactor to use the web api to update the iplog