some updates for proper owncloud 5.0 integration