add test
update encrypted credentials