Added general ajax reload behaviour