Minor bugfixes to update methods. Database populated with some sample data.