fix and upgrade deyan