edits to api creditential