ajax to sync projects