first adding of updatebar