implemented update action on details page