update monad add promise example