Added update and insert functions to database wrapper