update rebar
initial work on PATCH support