ipn security update, checkwater function