update delete controller