upgrade base structure according current application