Python Django project profile update

Sir please help me to resolve this error Please sir
Reverse for ‘UpdateProfile’ with keyword arguments ‘{‘pk’: 2}’ not found. 1 pattern(s) tried: [‘UpdateProfile\/\Z’]

path(“updateprofile/int:pk”,views.UpdateProfile,name=‘updateprofile’),