updated many features and added player prefs