Database updating, making a few things a little more gracefull.