update socket urls and get db data at login and update package version