updated communication with backend