add rating to UI