categories update via ajax