update is now ajax request