Added global to #update