Upgraded to 7.31 but getting "no pending updates" message
Go to '[your-website]/admin/reports/status' and if there you see that Drupal version is 7.31 (which you probably will see), if there is no some other errors and everything works fine on website you successfully did update.

It is not necessary to always have database update if you are updating some module or Drupal itself.