update method and destroy method have not id params. so add it.