Update dependencies
Use isarray package