used response from server to update style elements