add pub_key back into DB