update data based on etags