added check for non-empty parsed response

response is usually empty for succesful updates
Merge branch 'persistence-patch' into tmp