update db step2 (category view)