Auto update resources when needed