update derby database