update db and css