"adding some updates to delete and input func"