json func added to update, nested form for slideshow