added modify functionality