added flavor as input field

added flavor as input field for mongodb