update ios lib syntax