Update database, add tags support