Update database for comments flag