some updating stuff and json update