Update communication method with AsyncTask of Android