update dependency for platform