update rbp, fix its warnings