worked out errors on updating users especially inet_pton