add data to dbfrom client