make update and create actions redirect to index