update: add --rebase support

Signed-off-by: Christopher Larson <chris_larson@mentor.com>