Add users update and fix incompatibility with mathjs lib.