Update gui implementation