working edit and update css backgrounds