update passwords instead of inserting new rows. also added initial upgrade script