updated all store procedures to receive epoch in milliseconds