I added edit function for title and rating