Added update operations to the db