Adding check on update, throwing deprecation warning