refactor trip edit page and adjust it for updatingand deleting single or multiple trips