update ip table and add log