Updating insertNote SQLQuery