Fix bug - Update returning old value, instead of new