Flush data if webservices call's ok