updating db creds
fixing the archive feature