add template for delyed jobs - revert migrations - fixes