adding update sales function to stage helper