update select and clear title