add an updateById method