Fix update_package method.

With post method, package manager service gives the weird 'Could not modify package. null' message.