PHP 7 – Class Method Compatibility Issue

You must have the same function arguments in functions on class inheritance.

So replace function update() with update($new_instance, $old_instance) in your code