upgrade all versions and added ajax for new api key