Update image API