trying to get ui to update