replace public assets