Update

1) settings from DB
2) a lot of of of of things
3) sync