Help w/replaceitemvalue on HTTPPassword field (Script inlcuded)

Ii have a form for our Help Desk to use to change someones HTTPPassword in the NAB. The form runs on a notes client, it lets the user choose the person from the address book, checks to see if they have iNotes access through a role in the ACL, if the Role is enabled a password box and a change button appears. When the change button is pressed, it gets the encrypted value in the password and uses replaceitemvalue to change the internet password in the person doc. If I turn on the lotusscript debugger it shows the item being replaced but the field never changes. I am running simialiar scripts and I do not have this problem. What am I missing here? I am sure it is something very simple.

Set session = New Notessession

' Gets the current document

Set curdoc = session.DocumentContext

' Gets the primary address book

Set dbNames = session.GetDatabase("namail01","names.nsf")

' Gets the hidden view of person documents

Set viewNames = dbNames.GetView("($VIMPeople)")

' Gets the person document for the user

Set docNames = viewNames.GetDocumentByKey(curdoc.GetItemValue("UserName")(0))



If docNames Is Nothing Then

	Msgbox "Error in Name Lookup"

	Exit Sub		

End If

igrp = curdoc.GetItemValue("confirm")(0)

If igrp="The user is a member of the iNotes Group" Then

	

' Gets the new password entered by user

	newPassword = curdoc.GetItemValue("NewPassword")(0)

' Gets the encoded password stored in user's person document

	passwordInAddressBook = docNames.HTTPPassword(0)

	

' Gets the encoded form of the new password

	temp = Evaluate({@Password(NewPassword)}, curdoc)

	encodedNewPassword = temp(0)

	

' Updates the person document

	docNames.HTTPPassword =encodedNewPassword

	Call docNames.Save(True, False)

Msgbox"The Internet password has been changed "

Else

	If igrp="Error in Name Lookup" Then

		Msgbox "Error in Name Lookup"

	Else

		If igrp="The user is not a member of the iNotes Group" Then

			Msgbox "The user is not a member of the iNotes group, password change failed"

		End If

	End If

End If		

This sets the HTTPPassword item value when viewed in the debugger but does not change the person doc when completed.

Thanks for any input!

This exact script works if I do not change the HTTPPassword field!!!