# Updating an Ajax library project [edit]

This page describes how to update one of your existing Ajax library projects.

## Introduction

If you code against one of the popular Ajax libraries, such as Yahoo UI or MochiKit, you may need to update the libraries in your existing projects when one of these libraries is updated. Currently, you can manually update the libaries for your existing projects in Aptana.

## Instructions

Note: These instructions are for Ajax projects created using the Ajax library project wizard in Aptana.

To update the libary for an existing project:

1. In your Project View, navigate to your project and delete the lib folder that contains the outdated library that you are coding against.
2. Import the current version of the library.
   1. In the Project View, right-click your project and select Import... from the context menu to open an Import pop-up window.
   2. On the Import pop-up window, select Ajax library import wizard.
   3. Click the Next button.
   4. On the Import JavaScript Library screen, check the box next to every library that you would like to import.
   5. Click the Finish button.

      The Ajax library import wizard will import the lib folder containing the library source code for the libraries that you selected.

You can now code against your updated library.

## Related Topics

- About Aptana projects
- Creating your first Aptana project
- Importing an existing project from Dreamweaver or HomeSite
- Creating a new JavaScript library project wizard

Retrieved from "http://aptana.com/docs/index.php/Updating_an_Ajax_library_project"

Category: AptanaHelp