added upate pet button to index view