small fixes an schema update