update metadata if fetch request was not successful