updated library file for ios devices