Fixed dept update