change path and url in show page