Update difficulty on every block