Changing detabase as required