updating for real data