fix repository update on make