Update dependencies
Take elements outline into account