update user interfaces and UI flow