update credentials, delete credentials after build