Update API key and some login information