all edit functions for user and cat and task done