added edit subive functionality
added testing and checks time since last consumption