deposit: update_element() improvements

* The argument list format of update_element is preserved.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>