Modifying USB Battery (Portable Power Banks) to charge while charging (to use as ups)
The power bank will not power the targe while charing. The reason is simple: 
The wall wart (power supply) is not able to deliver enough current to do so.

Most will also use standard USB cables which do not allow much current above 2A.