GUI update : Working with references instead of names