added forgotten @ in front of instance var in update controller