updating db staging script