pass in already-fetched credential data when editing