latest code . problems and comments getting updated via ajax. create destroy and update js files written.delete functionality handled