Special refresh function for ajax refreshes