updating prediction section