Trying to fix the update resources feature