add dynamic ip to lib