update, show and destroy