crud functions
updating conflict about candy controller