Added Error check for Modify