Bug fixes related to updated() method