updates to register and css