Database_up fixed