only allow valid ip addresses in update requests. fixes #22