update style on api hack