added scoped updateEntry function preparing for put req