edited stages.updated database