add case editing and hint