got resolving problems on homepage to update with ajax request