Fixed a bug with a label which was not being updated