update category

add category, delete category is done. change values for the sliders is
still working because a problem appears here. I will modify record.html
from now on.