update delete function untuk contents, many to many