* add completion for ar * clean the function * update CHANGELOG (cherry picked from commit 36e4b0ff305e26d65e69744b89bc6d3d2861dca4)