ajax callback added to refresh