updating with all data