upadated nw check and validation