update data, fix bug with emails