update according to new kotlin