changing from deprecated syntax
upgrade dependencies