Right Before modifying core data