private void updateEventInSession(HttpSession session, int eventId, int bookedSeats) {
		try{
			ArrayList<EventsBean> arrlbean = (ArrayList<EventsBean>)session.getAttribute("upcomingevents");
			if(arrlbean != null && arrlbean.size()>0){
				for(EventsBean bean:arrlbean){
					if(bean.getEventId()==eventId){
						bean.setBookedSeats(bookedSeats);
					}
				}
			}
			session.setAttribute("upcomingevents", arrlbean);
		}catch(Exception e){
			e.printStackTrace();
		}
		
	}