Updating cat#edit to receive parent id