Added AJAX-call to update details page, bugfixes