added script to update mysql databases