Edit , update, index and destroy actions implemented.