updating config and weapons config