update: make third param an uint

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>