Updating ui base class