Updated Pets controller