updating UI for mobile