check = query.prepare("Update SharedNotebook set userid=:userid, notebookGuid=:notebook, "
+ "email=:email, notebookModifiable=:mod, requireLogin=:rlogin, serviceCreated=:serviceCreated, "
+ "shareKey=:shareKey, username=:username, isDirty=:isdirty where id=:id");
query.bindValue(":id", tempNotebook.getId());
query.bindValue(":userid", tempNotebook.getUserId());
query.bindValue(":notebook", tempNotebook.getNotebookGuid());
query.bindValue(":email", tempNotebook.getEmail());
query.bindValue(":mod", tempNotebook.isNotebookModifiable());
query.bindValue(":rlogin", tempNotebook.isRequireLogin());
query.bindValue(":serviceCreated", serviceCreated.toString());
query.bindValue(":shareKey", tempNotebook.getShareKey());