PHP API updates and styling