Refactor of commit method to update rtb only once
Line remove