Added noise and proper update rule