update fields in correct order
fix paths to javascript and css