update deprecated methods (bnc#885227)