updating ui, adding back button